package com.rbs.service;

import com.rbs.entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserService {
    //根据账户和邮箱登录
    User selectByNaAndPwd(@Param("email")String email , @Param("pwd")String password);
    void insertUser(User user);
    void updateState(int userId);
    User selectById(int userId);
}
